{% load staticfiles %}

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title> {% block title %} Bootstrap 101 Template {% endblock title %}</title>
    {% block head %}
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
        <link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap-treeview.min.css' %}"/>
        <link rel="stylesheet" href="{% static 'bootstrap/js/bootstrap-treeview.min.js' %}"/>
        <!-- bootstrap treeview-->
        <link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet">
        <script src="{% static 'bootstrap/js/jquery.min.js' %}"></script>
        <script src="{% static 'bootstrap/js/bootstrap-treeview.js' %}"></script>
        <!-- Bootstrap -->
        <!-- 引入 Bootstrap -->
        <link href="http://apps.bdimg.com/libs/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">

        <script type="text/javascript" src="{% static 'bootstrap/js/bootstrap.js' %}"></script>
        <style type="text/css" src="{% static 'bootstrap/css/bootstrap.css' %}"></style>
        <style>
            .nav-bar li a {
                display: inline-block !important;
            }

            .nav-bar li {
                line-height: 50px !important;
            }
        </style>
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

        <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
        <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
        <nav class="navbar navbar-inverse" id="nav">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#Navbar">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">api doc</a>
                </div>
                <div class="collapse navbar-collapse" id="myNavbar">
                    <ul class="nav navbar-nav nav-bar">
                        <li><form><input type="text"></form></li>
                        <li><a href="{% url 'apidoc:addPort' %}">按钮一</a></li>
                        <li><a href="#">按钮二</a></li>
                        <li><a href="#">按钮三</a></li>
                    </ul>
                </div>
            </div>
        </nav>


    {% endblock head %}
    {% block css %} {% endblock css %}
</head>
<body>
{% block content %} {% endblock content %}

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="{% static 'bootstrap/js/bootstrap.min.js' %}"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="{% static 'bootstrap/css/bootstrap.min.css' %}"></script>
</body>
</html>